def api_response(code: int = 200, message: str = "success", data: dict = None) -> dict:
    """
    API响应
    :param code: 状态码
    :param message: 消息
    :param data: 数据
    :return: 字典
    """
    return {"code": code, "message": message, "data": data}